﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace SmartPlant.Model.DbContext
{
    /// <summary>
    ///
    ///</summary>
    [SugarTable("SPEC_SHEET_DATA")]
    public class SpecSheetData
    {
        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_FORM_ID", IsPrimaryKey = true)]
        public decimal SpecFormId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "DWG_ID", IsPrimaryKey = true)]
        public decimal DwgId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CMPNT_ID", IsPrimaryKey = true)]
        public decimal CmpntId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PROJ_ID")]
        public decimal ProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SITE_ID")]
        public decimal SiteId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_NUM")]
        public decimal ChgNum { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_STATUS")]
        public string ChgStatus { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CHG_DATE")]
        public DateTime? ChgDate { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "USER_NAME")]
        public string UserName { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PLANT_ID")]
        public decimal PlantId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "AREA_ID")]
        public decimal AreaId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "UNIT_ID")]
        public decimal UnitId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "REV_ID")]
        public decimal RevId { get; set; }

        /// <summary>
        /// 如果是多位号的master tag，则为1
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_TYPE_FLG")]
        public string SpecTypeFlg { get; set; } = "0";

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_NOTE")]
        public string SpecNote { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C01")]
        public string SpecUdfC01 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C02")]
        public string SpecUdfC02 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C03")]
        public string SpecUdfC03 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C04")]
        public string SpecUdfC04 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C05")]
        public string SpecUdfC05 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C06")]
        public string SpecUdfC06 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C07")]
        public string SpecUdfC07 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C08")]
        public string SpecUdfC08 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C09")]
        public string SpecUdfC09 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C10")]
        public string SpecUdfC10 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C11")]
        public string SpecUdfC11 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C12")]
        public string SpecUdfC12 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C13")]
        public string SpecUdfC13 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C14")]
        public string SpecUdfC14 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C15")]
        public string SpecUdfC15 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C16")]
        public string SpecUdfC16 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C17")]
        public string SpecUdfC17 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C18")]
        public string SpecUdfC18 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C19")]
        public string SpecUdfC19 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C20")]
        public string SpecUdfC20 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C21")]
        public string SpecUdfC21 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C22")]
        public string SpecUdfC22 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C23")]
        public string SpecUdfC23 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C24")]
        public string SpecUdfC24 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C25")]
        public string SpecUdfC25 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C26")]
        public string SpecUdfC26 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C27")]
        public string SpecUdfC27 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C28")]
        public string SpecUdfC28 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C29")]
        public string SpecUdfC29 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C30")]
        public string SpecUdfC30 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C31")]
        public string SpecUdfC31 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C32")]
        public string SpecUdfC32 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C33")]
        public string SpecUdfC33 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C34")]
        public string SpecUdfC34 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C35")]
        public string SpecUdfC35 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C36")]
        public string SpecUdfC36 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C37")]
        public string SpecUdfC37 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C38")]
        public string SpecUdfC38 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C39")]
        public string SpecUdfC39 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C40")]
        public string SpecUdfC40 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C41")]
        public string SpecUdfC41 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C42")]
        public string SpecUdfC42 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C43")]
        public string SpecUdfC43 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C44")]
        public string SpecUdfC44 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C45")]
        public string SpecUdfC45 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C46")]
        public string SpecUdfC46 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C47")]
        public string SpecUdfC47 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C48")]
        public string SpecUdfC48 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C49")]
        public string SpecUdfC49 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C50")]
        public string SpecUdfC50 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C51")]
        public string SpecUdfC51 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C52")]
        public string SpecUdfC52 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C53")]
        public string SpecUdfC53 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C54")]
        public string SpecUdfC54 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C55")]
        public string SpecUdfC55 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C56")]
        public string SpecUdfC56 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C57")]
        public string SpecUdfC57 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C58")]
        public string SpecUdfC58 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C59")]
        public string SpecUdfC59 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C60")]
        public string SpecUdfC60 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C61")]
        public string SpecUdfC61 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C62")]
        public string SpecUdfC62 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C63")]
        public string SpecUdfC63 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C64")]
        public string SpecUdfC64 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C65")]
        public string SpecUdfC65 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C66")]
        public string SpecUdfC66 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C67")]
        public string SpecUdfC67 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C68")]
        public string SpecUdfC68 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C69")]
        public string SpecUdfC69 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C70")]
        public string SpecUdfC70 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C71")]
        public string SpecUdfC71 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C72")]
        public string SpecUdfC72 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C73")]
        public string SpecUdfC73 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C74")]
        public string SpecUdfC74 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C75")]
        public string SpecUdfC75 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C76")]
        public string SpecUdfC76 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C77")]
        public string SpecUdfC77 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C78")]
        public string SpecUdfC78 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C79")]
        public string SpecUdfC79 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C80")]
        public string SpecUdfC80 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_SHEETS")]
        public string SpecSheets { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_SHEET_OF")]
        public string SpecSheetOf { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C81")]
        public string SpecUdfC81 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C82")]
        public string SpecUdfC82 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C83")]
        public string SpecUdfC83 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C84")]
        public string SpecUdfC84 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C85")]
        public string SpecUdfC85 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C86")]
        public string SpecUdfC86 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C87")]
        public string SpecUdfC87 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C88")]
        public string SpecUdfC88 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C89")]
        public string SpecUdfC89 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C90")]
        public string SpecUdfC90 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C91")]
        public string SpecUdfC91 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C92")]
        public string SpecUdfC92 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C93")]
        public string SpecUdfC93 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C94")]
        public string SpecUdfC94 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C95")]
        public string SpecUdfC95 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C96")]
        public string SpecUdfC96 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C97")]
        public string SpecUdfC97 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C98")]
        public string SpecUdfC98 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C99")]
        public string SpecUdfC99 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_UDF_C100")]
        public string SpecUdfC100 { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_PROJ_ID")]
        public decimal? EngProjId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "ENG_REF_ID")]
        public decimal? EngRefId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "PD_CHG_FLG")]
        public string PdChgFlg { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_ENTITY_TYPE_ID")]
        public decimal? SpecEntityTypeId { get; set; } = 388;

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "CASE_ID", IsPrimaryKey = true)]
        public decimal CaseId { get; set; }

        /// <summary>
        ///
        ///</summary>
        [SugarColumn(ColumnName = "SPEC_SECTION_ID")]
        public decimal SpecSectionId { get; set; }

        #region 1

        [SugarColumn(IsIgnore = true)]
        public string SpecFormName { get; set; }

        #endregion 1
    }
}
